<!DOCTYPE HTML>
<html>
<head>
    
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <!--[if lt IE 9]>
    <script type="text/javascript" src="./Public/Admin/lib/html5.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/respond.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/PIE_IE678.js"></script>
    <![endif]-->
    <link href="./Public/Admin/css/H-ui.min.css" rel="stylesheet" type="text/css">
    <link href="./Public/Admin/css/H-ui.admin.css" rel="stylesheet" type="text/css">
    <link href="./Public/Admin/skin/blue/skin.css" rel="stylesheet" type="text/css" id="skin">
    <link href="./Public/Admin/lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css">
    <link href="./Public/Admin/css/style.css" rel="stylesheet" type="text/css">
    <link href="./Public/Admin/css/BeatPicker.min.css" rel="stylesheet" type="text/css">
    <!--[if IE 6]>
    <script type="text/javascript" src="./Public/Home/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>网站后台管理系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <script type="text/javascript" src="./Public/Admin/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/Validform/5.3.2/Validform.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/layer/1.9.3/layer.js"></script>
	<link rel="stylesheet" href="./Public/Admin/lib/layer/1.9.3/skin/layer.css" id="layui_layer_skinlayercss">
    <script type="text/javascript" src="./Public/Admin/lib/icheck/jquery.icheck.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/js/H-ui.js"></script>
    <script type="text/javascript" src="./Public/Admin/js/H-ui.admin.js"></script>
    <script type="text/javascript" src="./Public/Admin/js./Public.js"></script>
    <script type="text/javascript" src="./Public/Admin/js/BeatPicker.min.js"></script>
	
	
	
<title>商品列表</title><style>
	td{width:50px;height:18px;overflow:hidden;word-spacing:nowrap;padding:0 3px;margin:0;border-top:1px solid #000 !important;border-left:1px solid #000 !important;line-height:14px;}
	table{
		table-layout:fixed;
		border:0 !important;
	}
	tr{
		border:0 !important;
	}
	
	.border0{
		border-top:0 !important;
		border-right:0 !important;
		border-left:0 !important;
	}
	.border00{
		border-top:0 !important;
		border-right:0 !important;
		border-left:0 !important;
		border-bottom:0 !important;
	}
	.border1{
		border-right:1px solid #000 !important
	}
	.border2{
		border-bottom:1px solid #000 !important
	}
	.border-top{
		border-top:0 !important;
	}
	.border-right{
		border-right:0 !important;
	}
	.border-bottom{
		border-bottom:0 !important;
	}
	.border-left{
		border-left:0 !important;
	}
	.bold{
		font-weight:bold;
	}
	.table-border td {
		border-bottom: 0px solid #ddd;
	}
	.align-left{
		text-align:left;
	}
	@media print {
		body{font-size:12px;}
		.noprint { display: none; }
		#emstable {page-break-after:always;}
	}
</style></head>
<body>
<div class="pd-20">
	<table class=" table-border table-bordered table-hover ">
		<thead>
			<tr>
				<td scope="col" colspan="14" class="border00" style='text-align:center;font-size:24px;padding:15px;'>{:C('base_config.company_name')}出库单</td>
			</tr>
			<tr class="">
				<td  colspan="7" class="border00">发货日期：{:date("Y-m-d",$detail['delivery_time'])}</td>
				<td  colspan="4" class="border00">单据编号：{$detail.order_no}</td>
				<td  colspan="3" class="border00"  style="text-align:right;">打印：1/1</td>
			</tr>
			<tr class="">
				<td  colspan="7" class="border00">客户：{$detail.company_name}</td>
				<td  colspan="4" class="border00">联系人：{$detail.user_name}</td>
				<td  colspan="3" class="border00">联系方式：{$detail.user_phone}</td>
			</tr>
			<tr class="">
				<td  colspan="7" class="border00">通讯地址：{$detail.province}/{$detail.city}/{$detail.area}/{$detail.user_address}</td>
				<td  colspan="4" class="border00">发货仓库：{$Think.session.warehouse_name}</td>
				<td  colspan="3" class="border00">运输方：
				<if condition="$detail.logistics_business eq 1">
					百世
				<else />
					顺丰
				</if>
				</td>
			</tr>
			<tr class="text-c">
				<td  colspan="3">商品编码</td>
				<td  colspan="4">商品名称</td>
				<td  colspan="1">单位</td>
				<td  colspan="1">数量</td>
				<td  colspan="1" style="width:70px !important;">含税单价</td>
				<td  colspan="1" style="width:70px !important;">销售金额</td>
				<td  colspan="1">辅单位</td>
				<td  colspan="1">辅数量</td>
				<td  colspan="1" class="border1">备注</td>
			</tr>

		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr class="text-c">
			 <input  name='gid' type="hidden" style="width:80px;" value="{$vo['id']}"/>
				<td colspan="3">
					{$vo.goods_no}
				</td>
				<td colspan="4" style="text-align:left;">
				{$vo.goods_name}</td>
				<td>{$vo.goods_unit}</td>
				<td>
					{$vo.goods_nums}
				</td>
				<td>{$vo.goods_price|sprintf='%.2f',###}</td>
				<td>{$vo.unit2}</td>
				<td>
					{$vo.unit2_count}
				</td>
				<td>{$vo['goods_nums']*$vo['goods_price']|sprintf='%.2f',###}</td>
				<td class="border1">{$vo.bz}</td>
			</tr>
			</volist>
			<tr class="text-c">
				<td  colspan="7">合计</td>
				<td  colspan="1"></td>
				<td  colspan="1">数量</td>
				<td  colspan="1"></td>
				<td  colspan="1">销售金额</td>
				<td  colspan="1"></td>
				<td  colspan="1">辅数量</td>
				<td  colspan="1" class="border1"></td>
			</tr>
			<tr class="text-c">
				<td  colspan="3" class="border2 border-left align-left">部门：</td>
				<td  colspan="4" class="border2 border-left align-left">业务员：</td>
				<td  colspan="4" class="border2 border-left align-left">制单人：</td>
				<td  colspan="3" class="border2 border-left align-left" >收货方签字：</td>
			</tr>
			<tr class="text-c">
				<td  colspan="3" rowspan="2" class="border2 border-top align-left">公司地址：</td>
				<td  colspan="8" rowspan="2" class="border2 border-top align-left" style="line-height:20px;">
					{:C('base_config.company_address')}
					<br>
					TEL:{:C('base_config.company_tel')}&nbsp;&nbsp;&nbsp;&nbsp;FAX:{:C('base_config.company_fax')}
				</td>
				<td  colspan="3" rowspan="2" class="border2 border-top border1 align-left">客户签字：</td>
			</tr>
		</tbody>
	</table>
	<input type="button" class="btn btn-success radius mt noprint" onclick="window.print()"  value="打印">
<div class="pages">
{$page}
</div>
</div>

</body>
</html>
</html>